package news;

import java.util.Date;

public class News {
	private int nid, ntid;
	private String ntitle, nauthor, nsummary, ncontent, npicPath;

	public String getNpicPath() {
		return npicPath;
	}

	public void setNpicPath(String picPath) {
		this.npicPath = picPath;
	}

	private Date ncreateDate, nmodifyDate;

	public int getNid() {
		return nid;
	}

	public void setNid(int nid) {
		this.nid = nid;
	}

	public int getNtid() {
		return ntid;
	}

	public void setNtid(int ntid) {
		this.ntid = ntid;
	}

	public String getNtitle() {
		return ntitle;
	}

	public void setNtitle(String ntitle) {
		this.ntitle = ntitle;
	}

	public String getNauthor() {
		return nauthor;
	}

	public void setNauthor(String nauthor) {
		this.nauthor = nauthor;
	}

	public String getNsummary() {
		return nsummary;
	}

	public void setNsummary(String nsummary) {
		this.nsummary = nsummary;
	}

	public String getNcontent() {
		return ncontent;
	}

	public void setNcontent(String ncontent) {
		this.ncontent = ncontent;
	}

	public Date getNcreateDate() {
		return ncreateDate;
	}

	public void setNcreateDate(Date ncreateDate) {
		this.ncreateDate = ncreateDate;
	}

	public Date getNmodifyDate() {
		return nmodifyDate;
	}

	public void setNmodifyDate(Date nmodifyDate) {
		this.nmodifyDate = nmodifyDate;
	}

	@Override
	public String toString() {
		return "nid=" + nid + ", ntid=" + ntid + ", ntitle=" + ntitle
				+ ", nauthor=" + nauthor + ", nsummary=" + nsummary
				+ ", ncontent=" + ncontent + ", ncreateDate=" + ncreateDate
				+ ", nmodifyDate=" + nmodifyDate;
	}

}
